package com.fare.taluo.application.crawl;

import java.util.List;

import com.fare.taluo.vo.core.PlaneInfo;
import com.fare.taluo.vo.immediately.FreightPriceVO;

public interface ICrawlFreightPriceApplication {
	

	/**
	 * 抓取【某个】公司【某天】【某条航线】的【最低价】航班
	 * @return
	 */
	public PlaneInfo crawlLowestPlaneInfoByCompany(
			String depCity, String arrCity, String flightDate,String[] flightTimes,String CarrierKey,String flag) throws Exception;

//	/**
//	 * 抓取【某个】公司【某天】【某条航线】的【所有】航班
//	 * 返回自定义对象 
//	  */
//	public CrawlResult crawlAllPlaneInfosByCompany(
//			String depCity,String arrCity,String flightDate,String[] flightTimes,String carrierKey) throws Exception;
	
	/**
	 * 抓取【某个】公司【某天】【某条航线】的【所有】航班
	  */
	public List<PlaneInfo> crawlAllPlaneInfosByCompany(
			String depCity,String arrCity,String flightDate,String[] flightTimes,String carrierKey) throws Exception;
}
